<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>array function</title>
</head>
<body>
    
    <script>
    
        {
            let ary = ['a','b','c','d','e'];
            ary.forEach(element => {
                console.log(element);
            });

            let arr = ary.map(element=>{
                return element + '123'
            });

            console.log(arr);

            let a = ary.every(item=>{
                return item.includes('a');
            });
            console.log(a);

            let b = ary.find(element=>{
                return element === 'a';
            });

            console.log(b);

            console.log(2 ** 3);
        }

        
    </script>
</body>
</html>